<template>
  <div>
    <van-nav-bar left-arrow @click-left="onClickLeft" 		:title="$t('textTrans.资讯详情')" />
    <div class="msgWrap">
		<div style="font-size: 18px;">{{data.name}}</div>
		<div style="color: #C3C3C3;margin: 15px 0;">{{data.create_time}}</div>
		<img :src='data.image' style="width: 100%;height: 120px;margin-bottom: 10px;" />
		<div style="color: #C3C3C3;" v-html="data.content"></div>
    </div>
</div>
</template>

<script>
export default {
  data () {
    return {
		data:[]
    };
  },
  created(){
	  this.data=this.$route.query.data
  },
  methods: {
    onClickLeft(){
     this.$router.go(-1);
    }
  }
}

</script>
<style lang='less' scoped>
    .msgWrap{
        width:342px;
        height:100px;
        margin:20px auto;
        /* background: #EEF3FF; */
		font-size: 13px;
    }
	.van-nav-bar {
		background: #326964;
	
		/deep/.van-nav-bar__title {
			color: #ffffff;
		}
	
		/deep/ .van-icon {
			color: #ffffff;
		}
		
	}
</style>